//
//  TMCommityContentCell.m
//  国学商家管理
//
//  Created by Tao Li on 2018/7/5.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "TMCommityContentCell.h"

@implementation TMCommityContentCell

- (void)awakeFromNib {
    [super awakeFromNib];
}
-(void)setIsdiscount:(BOOL)isdiscount{
    _isdiscount = isdiscount;
    if (_isdiscount == YES) {
        self.contentView.backgroundColor = [UIColor whiteColor];
    }else{
        self.contentView.backgroundColor = [UIColor hx_colorWithHexRGBAString:@"#F9F9F9"];
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
